(C) 1996 AROS - The Amiga Replacement OS
This function does not check whether the wday field of the ClockData structure is valid.
This also assumes that the ClockDate refers to a date in the Gregorian calendar. (60 sec/min, 60 min/hour, 24 hr/day, 12 months/year).